package com.sghj.SysPermission.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sghj.SysPermission.entity.SysRoleDept;

import java.util.List;

/**
 * <p>
 * 角色和部门关联表 Mapper 接口
 * </p>
 *
 * @author xrx
 * @since 2023-03-20
 */
public interface SysRoleDeptMapper extends BaseMapper<SysRoleDept> {

    int batchRoleDept(List<SysRoleDept> list);


    int[] selectDeptByRoleId(Integer rid);
}
